{% extends "base.html" %}

{% block content %}

<h3>Configure User</h1>


<form action="/select" method="post">
  <input type="radio" name="select" value="default"
    {% if isDefault %}
      checked
    {% endif %}
  > Use ClientLogin
    {% if isDefault %}
      <b>(current)</b>
    {% endif %}
  <br/>
  <input type="radio" name="select" value="custom"
    {% if not isDefault %}
      checked
    {% endif %}
  > Authorize via AuthSub
    {% if not isDefault %}
      <b>(current)</b>
    {% endif %}
    {% if not isDefault and not authTokenValid %}
      <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <i>The AuthSub token I have on file is invalid for the selected spreadsheet</i>
    {% endif %}
  </br>
  <input type="submit" value="Select Auth Method">
</form>

{% endblock %}
